 /**
    *@ 
    */
    function BDData(url){
     
	   var self = this;
	   self.url = url;
    }
    
    BDData.prototype = {
    
  
           fetchData : function(dataType, data, callback) {

		      var self = this;  
    		  $.ajax({
			     async : "true",
                 type : "POST",
				 data : data,
                 url :  self.url,
                 dataType: dataType,
                 success: function(rdata){
    			    callback(rdata);
    			 },
    			 error : function(rdata){	 
    	         }
    	    });
    	  }
    	
    }
  